<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>

</head>
<body>


<form class="form-horizontal" role="form" id="form">
    <div class="form-group">
        <label  class="col-sm-2 control-label">logo</label>
        <div class="col-sm-10">
            <div id="logo" class="cc-FileUploadLogo" model="0" required="true"   nameCn="logo"  ></div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">

            <input type="button" value="setValue" onclick="setValue()">
            <input type="button" value="getValue" onclick="getValue()">
        </div>
    </div>
</form>

<script type="text/javascript" src="/lib/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/lib/layer/layer.js"></script>

<script type="text/javascript" src="/lib/handlebars/handlebars-v4.0.5.js"></script>
<script type="text/javascript" src="/lib/handlebars/handlebars-extend.js"></script>

<link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<script type="text/javascript" src="/lib/bootstrap/js/bootstrap.min.js"></script>



<link async rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css"/>
<link async rel="stylesheet" href="/lib/materialdesign/css/materialdesignicons.min.css"/>
<link href="/lib/pretty/pretty.min.css" rel="stylesheet" />


<script type="text/javascript"  src="/lib/common/common.js"></script>

<link rel="stylesheet" href="/lib/lobibox/css/Lobibox.min.css">
<script src="/lib/lobibox/js/lobibox.min.js"></script>

<script src="/lib/qiniu/key.js"></script>
<script src="/lib/qiniu/plupload.full.min.js"></script>
<script src="/lib/qiniu/qiniu.min.js"></script>
<script src="/lib/qiniu/ui.js"></script>


<link type="text/css" href="/lib/component/css/cc.css" rel="stylesheet" />
<script type="text/javascript"  src="/lib/component/js/cc.js"></script>

<script type="text/javascript">
    _$.parser.onComplete = function(){
    };
    function setValue(){
        var name = _$.getById("logo");

        var value = '[{"origiName":"111.jpg","currentFileName":"70005b4a41a4052782a303ac030f25aec41.jpg","callUrl":"http://oyxr5nbal.bkt.clouddn.com/70005b4a41a4052782a303ac030f25aec41.jpg?1510380547259","fileType":"image/jpeg","fileSize":"7.03 KB"}]';
        name.setValue(value);
    }
    function getValue(){
        var name = _$.getById("logo");
        var str = name.getValue();
        alert(str)
    }

    $(function(){
        _$.parser.parse()
    });
</script>
</body>
</html>
